package com.gobo.jinghuimall.product.feign;

import com.gobo.common.es.SkuEsModel;
import com.gobo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author guanboStart
 * @date 2021/11/7 0:15
 */
@FeignClient("jinghuimall-search")
public interface EsFegin {

    @PostMapping(value = "/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);

}
